package com.gather.spring.service.cglib;
import com.gather.spring.retry.cglib.request.QueryUserCondition;
import com.gather.po.User;

/**
 * @author kxd
 * @date 2018/12/5 11:01
 * description:
 */
public class UserServiceImpl implements UserService {

    private OutService outService;

    public UserServiceImpl(OutService outService) {
        this.outService = outService;
    }

    @Override
    public User queryUser(QueryUserCondition condition) {
       outService.remoteCall();
       return new User();
    }
}

